package com.css.zfzx.fxpg.modules.casulaty.offline.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.fxpg.modules.casulaty.offline.repository.entity.FxCasulatyOfflineEntity;
import com.css.zfzx.fxpg.modules.casulaty.offline.viewobjects.FxCasulatyOfflineQueryParams;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;
import java.util.List;

/**
 * @author leon
 * @date 2020-11-16
 */

public interface FxCasulatyOfflineService {

    JSONObject queryFxCasulatyOfflines(FxCasulatyOfflineQueryParams queryParams, int curPage, int pageSize);

    FxCasulatyOfflineEntity getFxCasulatyOffline(String id);

    FxCasulatyOfflineEntity saveFxCasulatyOffline(FxCasulatyOfflineEntity fxCasulatyOffline);

    FxCasulatyOfflineEntity updateFxCasulatyOffline(FxCasulatyOfflineEntity fxCasulatyOffline);

    void deleteFxCasulatyOfflines(List<String> ids);

    List<DictItemEntity> getValidDictItemsByDictCode(String dictCode);

}
